package com.easy.frame.servers.sys.mapper.tenant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easy.frame.servers.sys.dto.SysTenantPageDTO;
import com.easy.frame.servers.sys.entity.SysTenant;
import com.easy.frame.servers.sys.vo.SysTenantDetailVO;
import com.easy.frame.servers.sys.vo.SysTenantVO;

import java.util.List;

/**
 * <p>
 * 系统租户表 Mapper 接口
 * </p>
 *
 * @author zzf
 * @since 2020-12-14
 */
public interface SysTenantMapper extends BaseMapper<SysTenant> {

    List<SysTenantVO> selectForPage(SysTenantPageDTO param);

    int updateDeleted(Long id);

    SysTenantVO selectVOById(Long id);

    SysTenantDetailVO selectDetail(Long id);

    Long selectSysAdminId();

    List<SysTenant> selectTenantList();

    List<SysTenant> listSupplier(Integer supplierType);
}
